<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, width=device-width, maximum-scale=1, user-scalable=no">
<title>卡片系列的操作</title>
<script src="../kq.1.06.dev.js"></script>
</head>

<body>
<div>
<button id="simplecard">点击测试简单卡片</button>
<button id="alert">alert</button>
<button id="simplealert">简单的alert</button>
<button id="noheadalert">没有头部的alert</button>
</div>
</body>
<script>
$Q('#alert').click(function(){
	$Q.alert({
		sureText:'已订阅',	
	});
});

$Q('#noheadalert').click(function(){
	$Q.alert({
		format:['body','foot'],
		text:'没有头部的',
	});
});
//简单的卡片
$Q('#simplecard').click(function(){
	$Q.card('我是简单卡片');
});

$Q('#simplealert').click(function(){
	$Q.alert('我是简单卡片');
});

</script>
</html>
